package me.stone.stanimeclient.util

import android.content.res.AssetManager
import okio.buffer
import okio.source
import java.nio.charset.Charset

fun AssetManager.loadString(fileName: String): String {
    val buf = open(fileName).source().buffer()
    return buf.readString(Charset.defaultCharset())
}
